package com.base.task;

import com.base.task.em.BatchTypeEm;
import com.base.task.entity.BatchResult;

/**
 * @ Author     ：山水之间-wxs
 * @ Description：批次执行服务工厂
 * @ Date       ：Created in 19:45 2021/4/16
 * @ Modified By：wxs
 * @ Version    ：1.0
 */
public interface BatchServerFactory {

    int getTotalCount();

    BatchResult runTask();

    BatchResult run(BatchTypeEm batchType);

}
